-
Home
-
WooCommerce Shipping
-
1.8.5
-
Code
-
Classes
- Banners
Total Complexity |
59 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
442 |
Lines of code |
265 |
Logical lines of code |
136 |
Comment lines |
116 |
Methods |
16 |
Properties |
2 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
render_banner() |
A |
39 |
13 |
68 |
screen_matches_target() |
S |
58 |
8 |
15 |
get_active_banners() |
S |
56 |
7 |
18 |
should_display_feature_banner_on_screen() |
S |
48 |
3 |
40 |
dismiss_feature_banner() |
S |
56 |
4 |
18 |
render_feature_banners() |
S |
60 |
4 |
14 |
should_show_feature_banners() |
S |
64 |
4 |
10 |
get_features() |
S |
68 |
3 |
7 |
track_feature_banner_click() |
S |
62 |
3 |
10 |
enqueue_banner_assets() |
S |
53 |
1 |
26 |
get_dismissed_banners() |
S |
67 |
2 |
8 |
on_banner_dismissed() |
S |
65 |
2 |
9 |
verify_dismiss_nonce() |
S |
66 |
2 |
8 |
__construct() |
S |
72 |
1 |
5 |
init() |
S |
72 |
1 |
5 |
is_banner_dismissed() |
S |
75 |
1 |
4 |